<%-- 
    Document   : index
    Created on : 17 avr. 2013, 19:42:13
    Author     : pauline
--%>
<%@taglib uri="/struts-tags" prefix="s" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <s:include value="Commun/EnTeteAccueil.jsp"/>
    <body>
        <s:div cssClass="navbar navbar-inverse navbar-fixed-top">
            <s:div cssClass="navbar-inner">
                <s:div cssClass="container">
                    <s:url action="index" id="langueFr">
                        <s:param name="request_locale">fr</s:param>
                    </s:url>

                    <s:url action="index" id="langueDe">
                        <s:param name="request_locale">en</s:param>
                    </s:url>
                       
                    <s:a href="%{langueFr}"><img src="ressources/img/francais.png" /> </s:a>
                    <s:a href="%{langueDe}"><img src="ressources/img/anglais.png" /> </s:a>
                    <s:a cssClass="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><i cssClass="icon-cog"></i></s:a>
                    <s:a cssClass="brand" href="#"><s:text name="menu.logo"></s:text></s:a>
                </s:div>
            </s:div>
        </s:div>

        <s:div cssClass="account-container stacked">
            <s:div cssClass="content clearfix">

                <s:form action="connexion" method="post" validate="true">

                    <h1><s:text name="label.connexion"></s:text></h1>		
                    <s:div cssClass="login-fields">
                        <p><s:text name="label.connexionPhrase"></s:text></p>
                        <s:div cssClass="field">
                            <label for="email"><s:text name="label.mail"></s:text></label>
                            <input type="text" id="courrielInscrit" name="courrielInscrit" value="" placeholder="<s:text name="label.mail"/>" class="login username-field" />
                            <s:fielderror fieldName="courrielInscrit" />
                        </s:div>
                        <s:div cssClass="field">
                            <label for="password"><s:text name="label.password"></s:text></label>
                            <input type="password" id="mdpInscrit" name="mdpInscrit" value="" placeholder="<s:text name="label.password"/>" class="login password-field"/>
                            <s:fielderror fieldName="mdpInscrit" />
                        </s:div>
                    </s:div> 
                    <s:div cssClass="login-actions">
                        <s:submit cssClass="button btn btn-warning btn-large" value="%{getText('label.seConnecter')}"/>
                    </s:div>
                    <s:actionerror/>
                </s:form>
            </s:div>
        </s:div>          

        <s:div cssClass="login-extra">
            <s:text name="label.pasCompte"></s:text> <s:a href="inscription.jsp" ><s:text name="label.inscrire"></s:text></s:a><br/>
        </s:div>


        <s:include value="Commun/Footer.jsp"/>                      
    </body>
</html>